class Student:
    def __init__(self, name, age, gender):
        self.name = name
        self.age = age
        self.gender = gender

    def info(self):
        print(f"Name{self.name},age:{self.age},Gender:{self.gender}")

s1=Student("Tom",22,"male")
print(s1.name)